﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Update.aspx.cs" Inherits="WebEFDemo.Update" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
            <table style="width: 800px; margin: auto;">
                <tr>
                    <td><h3>学生列表</h3></td>
                </tr>
                <tr>
                    <td>姓名</td>
                    <td><asp:TextBox ID="txt_name" runat="server"></asp:TextBox></td>
                    </tr>
                <tr>
                    <td>年龄</td>
                    <td><asp:TextBox ID="txt_age" runat="server"></asp:TextBox></td>
                    </tr>
                <tr>
                    <td>手机</td>
                    <td><asp:TextBox ID="txt_phone" runat="server"></asp:TextBox></td>
                    </tr>
                <tr>
                    <td>邮箱</td>
                    <td><asp:TextBox ID="txt_email" runat="server"></asp:TextBox></td>
                    </tr>
                <tr>
                    <td>班级</td>
                    <td>
                        <asp:DropDownList ID="dropclass" runat="server">
                            <asp:ListItem Selected="True" Value="1">.NET班</asp:ListItem>
                            <asp:ListItem Value="2">Android班</asp:ListItem>
                            <asp:ListItem Value="3">JAVA班</asp:ListItem>
                        </asp:DropDownList></td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                    <asp:Button ID="btn_update" runat="server" Text="修改" BackColor="#00CC00" OnClick="btn_update_Click" /></td></tr>
            </table>
    </div>
    </form>
</body>
</html>
